<%@ page pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="isperp" uri="/WEB-INF/tlds/isperp.tld"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>


<style>
html
{
  heith:100%;
}
body
{
  min-height:0px;
}
.new-task-item {
	color: #8E8E8E;
	line-height: 27px;
	height: 16px;
	border: 1px solid #DDD;
	margin: 5px 5px 5px 0;
	padding: 10px;
	border-left: 5px solid #609ACA;
	background: #FFF;
	border-radius: 5px;
	list-style: none;
	cursor: pointer;
}

.task-item-op {
	width: 200px;
	line-height: 45px;
	overflow: hidden;
	zoom: 1;
	transition: all 0.8s;
	opacity: 0;
}

.pull-right {
	float: right;
}

.btn-group {
	position: relative;
	display: inline-block;
	font-size: 0;
	vertical-align: middle;
	white-space: nowrap;
}

.new-item-info {
	line-height: 20px;
	font-size: 13px;
}

.new-item-info a {
	color: #555;
}
</style>

<div style="min-height:none;">
	<ul class="taskblock" id="panel-inbox">

		<c:forEach items="${list }" var="listCv">
			<li class="new-task-item clearfix" onmouseover="mouseover(this)"
				onclick="openCreateWindow('${listCv.code }')"
				onmouseout="mouseout(this)">
				<div class="new-item-info pull-left">
					<a href="javascript:void(0)">${listCv.name }</a>
				</div>
			</li>
		</c:forEach>

	</ul>
</div>
<script type="text/javascript">
	function openCreateWindow(p) {
		var options = {
			title : '新建',
			contentUrl : p
		};
		isperp.openDialog(options);
	}
	function mouseout(obj) {
		var obj = $(obj);
		obj.css("background-color", "white");
	}

	function mouseover(obj) {
		var obj = $(obj);
		obj.css("background-color", "#EEE");
	}
</script>

